3.4 \(\int F^{c (a+b x)} (d+e x)^2 \, dx\)
Optimal. Leaf size=79 \[ \frac {2 e^2 F^{c (a+b x)}}{b^3 c^3 \log ^3(F)}-\frac {2 e (d+e x) F^{c (a+b x)}}{b^2 c^2 \log ^2(F)}+\frac {(d+e x)^2 F^{c (a+b x)}}{b c \log (F)} \]
[Out]
2*e^2*F^(c*(b*x+a))/b^3/c^3/ln(F)^3-2*e*F^(c*(b*x+a))*(e*x+d)/b^2/c^2/ln(F)^2+F^(c*(b*x+a))*(e*x+d)^2/b/c/ln(F
)
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 79, normalized size of antiderivative = 1.00,
number of steps used = 3, number of rules used = 2, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.118, Rules used =
{2176, 2194} \[ -\frac {2 e (d+e x) F^{c (a+b x)}}{b^2 c^2 \log ^2(F)}+\frac {2 e^2 F^{c (a+b x)}}{b^3 c^3 \log ^3(F)}+\frac {(d+e x)^2 F^{c (a+b x)}}{b c \log (F)} \]
Antiderivative was successfully verified.
[In]
Int[F^(c*(a + b*x))*(d + e*x)^2,x]
[Out]
(2*e^2*F^(c*(a + b*x)))/(b^3*c^3*Log[F]^3) - (2*e*F^(c*(a + b*x))*(d + e*x))/(b^2*c^2*Log[F]^2) + (F^(c*(a + b
*x))*(d + e*x)^2)/(b*c*Log[F])
Rule 2176
Int[((b_.)*(F_)^((g_.)*((e_.) + (f_.)*(x_))))^(n_.)*((c_.) + (d_.)*(x_))^(m_.), x_Symbol] :> Simp[((c + d*x)^m
*(b*F^(g*(e + f*x)))^n)/(f*g*n*Log[F]), x] - Dist[(d*m)/(f*g*n*Log[F]), Int[(c + d*x)^(m - 1)*(b*F^(g*(e + f*x
)))^n, x], x] /; FreeQ[{F, b, c, d, e, f, g, n}, x] && GtQ[m, 0] && IntegerQ[2*m] && !$UseGamma === True
Rule 2194
Int[((F_)^((c_.)*((a_.) + (b_.)*(x_))))^(n_.), x_Symbol] :> Simp[(F^(c*(a + b*x)))^n/(b*c*n*Log[F]), x] /; Fre
eQ[{F, a, b, c, n}, x]
Rubi steps
\begin {align*} \int F^{c (a+b x)} (d+e x)^2 \, dx &=\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)}-\frac {(2 e) \int F^{c (a+b x)} (d+e x) \, dx}{b c \log (F)}\\ &=-\frac {2 e F^{c (a+b x)} (d+e x)}{b^2 c^2 \log ^2(F)}+\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)}+\frac {\left (2 e^2\right ) \int F^{c (a+b x)} \, dx}{b^2 c^2 \log ^2(F)}\\ &=\frac {2 e^2 F^{c (a+b x)}}{b^3 c^3 \log ^3(F)}-\frac {2 e F^{c (a+b x)} (d+e x)}{b^2 c^2 \log ^2(F)}+\frac {F^{c (a+b x)} (d+e x)^2}{b c \log (F)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 56, normalized size = 0.71 \[ \frac {F^{c (a+b x)} \left (b^2 c^2 \log ^2(F) (d+e x)^2-2 b c e \log (F) (d+e x)+2 e^2\right )}{b^3 c^3 \log ^3(F)} \]
Antiderivative was successfully verified.
[In]
Integrate[F^(c*(a + b*x))*(d + e*x)^2,x]
[Out]
(F^(c*(a + b*x))*(2*e^2 - 2*b*c*e*(d + e*x)*Log[F] + b^2*c^2*(d + e*x)^2*Log[F]^2))/(b^3*c^3*Log[F]^3)
________________________________________________________________________________________
fricas [A] time = 0.67, size = 84, normalized size = 1.06 \[ \frac {{\left ({\left (b^{2} c^{2} e^{2} x^{2} + 2 \, b^{2} c^{2} d e x + b^{2} c^{2} d^{2}\right )} \log \relax (F)^{2} + 2 \, e^{2} - 2 \, {\left (b c e^{2} x + b c d e\right )} \log \relax (F)\right )} F^{b c x + a c}}{b^{3} c^{3} \log \relax (F)^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(F^(c*(b*x+a))*(e*x+d)^2,x, algorithm="fricas")
[Out]
((b^2*c^2*e^2*x^2 + 2*b^2*c^2*d*e*x + b^2*c^2*d^2)*log(F)^2 + 2*e^2 - 2*(b*c*e^2*x + b*c*d*e)*log(F))*F^(b*c*x
+ a*c)/(b^3*c^3*log(F)^3)
________________________________________________________________________________________
giac [C] time = 0.91, size = 2494, normalized size = 31.57 \[ \text {result too large to display} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(F^(c*(b*x+a))*(e*x+d)^2,x, algorithm="giac")
[Out]
(((3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)*(pi^2*b^2*c^2*x^2
*sgn(F) - pi^2*b^2*c^2*x^2 + 2*b^2*c^2*x^2*log(abs(F))^2 - 4*b*c*x*log(abs(F)) + 4)/((pi^3*b^3*c^3*sgn(F) - 3*
pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F))*s
gn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)^2) - 2*(pi^3*b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(a
bs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)*(pi*b^2*c^2*x^2*log(abs(F))*sgn(F) - pi*b^2*c^2*x
^2*log(abs(F)) - pi*b*c*x*sgn(F) + pi*b*c*x)/((pi^3*b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*
b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*
b^3*c^3*log(abs(F))^3)^2))*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c) + ((pi^3*
b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)*(pi^2*b^2*c^2*
x^2*sgn(F) - pi^2*b^2*c^2*x^2 + 2*b^2*c^2*x^2*log(abs(F))^2 - 4*b*c*x*log(abs(F)) + 4)/((pi^3*b^3*c^3*sgn(F) -
3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3 + 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F)
)*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)^2) + 2*(3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3
*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*log(abs(F))^3)*(pi*b^2*c^2*x^2*log(abs(F))*sgn(F) - pi*b^2*c^2*x^2*log(a
bs(F)) - pi*b*c*x*sgn(F) + pi*b*c*x)/((pi^3*b^3*c^3*sgn(F) - 3*pi*b^3*c^3*log(abs(F))^2*sgn(F) - pi^3*b^3*c^3
+ 3*pi*b^3*c^3*log(abs(F))^2)^2 + (3*pi^2*b^3*c^3*log(abs(F))*sgn(F) - 3*pi^2*b^3*c^3*log(abs(F)) + 2*b^3*c^3*
log(abs(F))^3)^2))*sin(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c))*e^(b*c*x*log(abs
(F)) + a*c*log(abs(F)) + 2) + 1/2*I*((4*I*pi^2*b^2*c^2*x^2*sgn(F) - 8*pi*b^2*c^2*x^2*log(abs(F))*sgn(F) - 4*I*
pi^2*b^2*c^2*x^2 + 8*pi*b^2*c^2*x^2*log(abs(F)) + 8*I*b^2*c^2*x^2*log(abs(F))^2 + 8*pi*b*c*x*sgn(F) - 8*pi*b*c
*x - 16*I*b*c*x*log(abs(F)) + 16*I)*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi
*a*c)/(-4*I*pi^3*b^3*c^3*sgn(F) + 12*pi^2*b^3*c^3*log(abs(F))*sgn(F) + 12*I*pi*b^3*c^3*log(abs(F))^2*sgn(F) +
4*I*pi^3*b^3*c^3 - 12*pi^2*b^3*c^3*log(abs(F)) - 12*I*pi*b^3*c^3*log(abs(F))^2 + 8*b^3*c^3*log(abs(F))^3) - (4
*I*pi^2*b^2*c^2*x^2*sgn(F) + 8*pi*b^2*c^2*x^2*log(abs(F))*sgn(F) - 4*I*pi^2*b^2*c^2*x^2 - 8*pi*b^2*c^2*x^2*log
(abs(F)) + 8*I*b^2*c^2*x^2*log(abs(F))^2 - 8*pi*b*c*x*sgn(F) + 8*pi*b*c*x - 16*I*b*c*x*log(abs(F)) + 16*I)*e^(
-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x - 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(4*I*pi^3*b^3*c^3*sgn(F) + 12*pi
^2*b^3*c^3*log(abs(F))*sgn(F) - 12*I*pi*b^3*c^3*log(abs(F))^2*sgn(F) - 4*I*pi^3*b^3*c^3 - 12*pi^2*b^3*c^3*log(
abs(F)) + 12*I*pi*b^3*c^3*log(abs(F))^2 + 8*b^3*c^3*log(abs(F))^3))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F)) + 2
) + 2*(2*((pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))*(pi*b*c*d*x*sgn(F) - pi*b*c*d*x)/((pi^2*b^2
*c^2*sgn(F) - pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(ab
s(F)))^2) + (pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)*(b*c*d*x*log(abs(F)) - d)/((pi^2*b^
2*c^2*sgn(F) - pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(a
bs(F)))^2))*cos(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c) + ((pi^2*b^2*c^2*sgn(F)
- pi^2*b^2*c^2 + 2*b^2*c^2*log(abs(F))^2)*(pi*b*c*d*x*sgn(F) - pi*b*c*d*x)/((pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c^
2 + 2*b^2*c^2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))^2) - 4*(pi*b^2*c^2
*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))*(b*c*d*x*log(abs(F)) - d)/((pi^2*b^2*c^2*sgn(F) - pi^2*b^2*c^2 +
2*b^2*c^2*log(abs(F))^2)^2 + 4*(pi*b^2*c^2*log(abs(F))*sgn(F) - pi*b^2*c^2*log(abs(F)))^2))*sin(-1/2*pi*b*c*x
*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F)) + 1) - 1/2*I*
((4*pi*b*c*d*x*sgn(F) - 4*pi*b*c*d*x - 8*I*b*c*d*x*log(abs(F)) + 8*I*d)*e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*
c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi*a*c)/(2*pi^2*b^2*c^2*sgn(F) + 4*I*pi*b^2*c^2*log(abs(F))*sgn(F) - 2*pi^2*
b^2*c^2 - 4*I*pi*b^2*c^2*log(abs(F)) + 4*b^2*c^2*log(abs(F))^2) + (4*pi*b*c*d*x*sgn(F) - 4*pi*b*c*d*x + 8*I*b*
c*d*x*log(abs(F)) - 8*I*d)*e^(-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x - 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/(2
*pi^2*b^2*c^2*sgn(F) - 4*I*pi*b^2*c^2*log(abs(F))*sgn(F) - 2*pi^2*b^2*c^2 + 4*I*pi*b^2*c^2*log(abs(F)) + 4*b^2
*c^2*log(abs(F))^2))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F)) + 1) + 2*(2*b*c*d^2*cos(-1/2*pi*b*c*x*sgn(F) + 1/2
*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)*log(abs(F))/(4*b^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c)^2)
- (pi*b*c*sgn(F) - pi*b*c)*d^2*sin(-1/2*pi*b*c*x*sgn(F) + 1/2*pi*b*c*x - 1/2*pi*a*c*sgn(F) + 1/2*pi*a*c)/(4*b
^2*c^2*log(abs(F))^2 + (pi*b*c*sgn(F) - pi*b*c)^2))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F))) - 1/2*I*(-2*I*d^2*
e^(1/2*I*pi*b*c*x*sgn(F) - 1/2*I*pi*b*c*x + 1/2*I*pi*a*c*sgn(F) - 1/2*I*pi*a*c)/(I*pi*b*c*sgn(F) - I*pi*b*c +
2*b*c*log(abs(F))) + 2*I*d^2*e^(-1/2*I*pi*b*c*x*sgn(F) + 1/2*I*pi*b*c*x - 1/2*I*pi*a*c*sgn(F) + 1/2*I*pi*a*c)/
(-I*pi*b*c*sgn(F) + I*pi*b*c + 2*b*c*log(abs(F))))*e^(b*c*x*log(abs(F)) + a*c*log(abs(F)))
________________________________________________________________________________________
maple [A] time = 0.01, size = 91, normalized size = 1.15 \[ \frac {\left (b^{2} c^{2} e^{2} x^{2} \ln \relax (F )^{2}+2 b^{2} c^{2} d e x \ln \relax (F )^{2}+b^{2} c^{2} d^{2} \ln \relax (F )^{2}-2 b c \,e^{2} x \ln \relax (F )-2 b c d e \ln \relax (F )+2 e^{2}\right ) F^{\left (b x +a \right ) c}}{b^{3} c^{3} \ln \relax (F )^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(F^((b*x+a)*c)*(e*x+d)^2,x)
[Out]
(e^2*x^2*b^2*c^2*ln(F)^2+2*ln(F)^2*b^2*c^2*d*e*x+b^2*c^2*ln(F)^2*d^2-2*ln(F)*b*c*e^2*x-2*ln(F)*b*c*e*d+2*e^2)*
F^((b*x+a)*c)/b^3/c^3/ln(F)^3
________________________________________________________________________________________
maxima [A] time = 0.50, size = 123, normalized size = 1.56 \[ \frac {F^{b c x + a c} d^{2}}{b c \log \relax (F)} + \frac {2 \, {\left (F^{a c} b c x \log \relax (F) - F^{a c}\right )} F^{b c x} d e}{b^{2} c^{2} \log \relax (F)^{2}} + \frac {{\left (F^{a c} b^{2} c^{2} x^{2} \log \relax (F)^{2} - 2 \, F^{a c} b c x \log \relax (F) + 2 \, F^{a c}\right )} F^{b c x} e^{2}}{b^{3} c^{3} \log \relax (F)^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(F^(c*(b*x+a))*(e*x+d)^2,x, algorithm="maxima")
[Out]
F^(b*c*x + a*c)*d^2/(b*c*log(F)) + 2*(F^(a*c)*b*c*x*log(F) - F^(a*c))*F^(b*c*x)*d*e/(b^2*c^2*log(F)^2) + (F^(a
*c)*b^2*c^2*x^2*log(F)^2 - 2*F^(a*c)*b*c*x*log(F) + 2*F^(a*c))*F^(b*c*x)*e^2/(b^3*c^3*log(F)^3)
________________________________________________________________________________________
mupad [B] time = 3.51, size = 91, normalized size = 1.15 \[ \frac {F^{a\,c+b\,c\,x}\,\left (b^2\,c^2\,d^2\,{\ln \relax (F)}^2+2\,b^2\,c^2\,d\,e\,x\,{\ln \relax (F)}^2+b^2\,c^2\,e^2\,x^2\,{\ln \relax (F)}^2-2\,b\,c\,d\,e\,\ln \relax (F)-2\,b\,c\,e^2\,x\,\ln \relax (F)+2\,e^2\right )}{b^3\,c^3\,{\ln \relax (F)}^3} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
int(F^(c*(a + b*x))*(d + e*x)^2,x)
[Out]
(F^(a*c + b*c*x)*(2*e^2 + b^2*c^2*d^2*log(F)^2 - 2*b*c*e^2*x*log(F) + b^2*c^2*e^2*x^2*log(F)^2 - 2*b*c*d*e*log
(F) + 2*b^2*c^2*d*e*x*log(F)^2))/(b^3*c^3*log(F)^3)
________________________________________________________________________________________
sympy [A] time = 0.18, size = 133, normalized size = 1.68 \[ \begin {cases} \frac {F^{c \left (a + b x\right )} \left (b^{2} c^{2} d^{2} \log {\relax (F )}^{2} + 2 b^{2} c^{2} d e x \log {\relax (F )}^{2} + b^{2} c^{2} e^{2} x^{2} \log {\relax (F )}^{2} - 2 b c d e \log {\relax (F )} - 2 b c e^{2} x \log {\relax (F )} + 2 e^{2}\right )}{b^{3} c^{3} \log {\relax (F )}^{3}} & \text {for}\: b^{3} c^{3} \log {\relax (F )}^{3} \neq 0 \\d^{2} x + d e x^{2} + \frac {e^{2} x^{3}}{3} & \text {otherwise} \end {cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
integrate(F**(c*(b*x+a))*(e*x+d)**2,x)
[Out]
Piecewise((F**(c*(a + b*x))*(b**2*c**2*d**2*log(F)**2 + 2*b**2*c**2*d*e*x*log(F)**2 + b**2*c**2*e**2*x**2*log(
F)**2 - 2*b*c*d*e*log(F) - 2*b*c*e**2*x*log(F) + 2*e**2)/(b**3*c**3*log(F)**3), Ne(b**3*c**3*log(F)**3, 0)), (
d**2*x + d*e*x**2 + e**2*x**3/3, True))
________________________________________________________________________________________